<?php

class m130702_193152_insert_setting_min_deposit extends CDbMigration
{
	public function up()
	{
		$sql = "
			INSERT INTO `settings` (`id`, `type`, `name`, `value`) 
			VALUES 
			(NULL, 'deposit','wmz','5'), 
			(NULL, 'deposit', 'pm', '5'),
			(NULL, 'deposit', 'bk', '20000');
		";
		$this->execute($sql);
		return true;
	}

	public function down()
	{
		echo "m130702_193152_insert_setting_min_deposit does not support migration down.\n";
		return false;
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}